WeChat Mini App
Launch VPS-enabled AR content inside WeChat. The integration bridges Unity and the Tencent Mini Program runtime. It is available only with Enterprise contracts.
Get access
- Email
support@arclip.designwith your Tencent developer account ID and Mini Program review schedule. - You get:
- the
com.webarvps.vps.wechatUnity package; - a WeChat Mini Program starter project with secure API proxying;
- CI/CD templates that package Unity WebGL builds into the WeChat asset bundle format.
- the
Enterprise only
The WeChat integration and its tools are not part of the public SDK.
Requirements
- An approved WeChat Mini Program account with AR permissions
- Unity 2022.3 LTS with WebGL build support
- Access to the AR Clip WeChat proxy endpoint (part of Enterprise)
Set up
- Add the Enterprise registry and install
com.webarvps.vps.wechat. - Build your scene for WebGL with the AR Clip template. Turn on Offscreen Rendering in Player Settings.
- Run the included
wechat-packagerCLI to wrap the build into a Mini Program asset. - Set up the API proxy: set
WECHAT_VPS_PROXY_URLinAssets/WebARStudio/Wechat/Resources/Config.asset. - Deploy to the WeChat developer console and test in the Mini Program dev tools.
Testing checklist
- Check login and signature validation with your Tencent sandbox credentials.
- Run localization over Wi-Fi and over mobile data, to make sure frame uploads stay fast.
- Check that analytics events reach the WeChat data dashboard through the bundled telemetry plugin.
- Check that the app falls back to 2D content if the user denies camera access.
Support
Enterprise support includes help with Tencent security reviews, traffic quota sizing, and joint debugging sessions with AR Clip engineers.